<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>文件上传</title>
  </head>
  <body>
  <form action="${pageContext.request.contextPath}/upload" method="post" enctype="multipart/form-data">
    用户名：<input type="text" name="name"><br>
    文件：<input type="file" name="myfile"><br>
    <button type="submit">上传</button>
  </form>
  </body>
</html>
